package demo06;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class ClassWork{

   
    public static void main(String[] args) throws IOException {
        InputStreamReader in2=new InputStreamReader(System.in);
        BufferedReader in3=new BufferedReader(in2);
        System.out.print("请输入第一个数：");
        float a=Float.parseFloat(in3.readLine());
        System.out.print("请输入第二个数：");
        float b=Float.parseFloat(in3.readLine());
        System.out.println();
        System.out.println("这两个数的和为：");
        System.out.println(a+b);
    }

}